<template>
    <div class="exception">
        <div class="imgBlock">
            <div class="imgEle"></div>
        </div>
        <div class="content">
            <h1>404</h1>
            <div class="desc">抱歉，您访问的页面不存在或仍在开发中</div>
            <!-- <div class="actions">
                <el-button type="primary" @click="handleToHome">返回首页</el-button>
            </div> -->
        </div>
    </div>
</template>

<script>
export default {
    name: "Exception",
    data() {
        return {

        };
    },
    methods: {
        // handleToHome() {
        //     this.$router.push({ name: "dashboard" });
        // }
    }
};
</script>
<style lang="scss" scoped>
.exception {
    display: flex;
    align-items: center;
    height: 80%;
    min-height: 500px;

    .imgBlock {
        flex: 0 0 50%;
        width: 50%;
        zoom: 1;

        &::before,
        &::after {
            content: " ";
            display: table;
        }

        &::after {
            clear: both;
            height: 0;
            font-size: 0;
            visibility: hidden;
        }
    }

    .imgEle {
        float: right;
        width: 100%;
        max-width: 430px;
        height: 360px;
        background-repeat: no-repeat;
        background-position: 50% 50%;
        background-size: contain;
        background-image: url("../../../assets/image/app/404.svg");
    }

    .content {
        flex: auto;

        h1 {
            margin-bottom: 24px;
            color: #434e59;
            font-weight: 600;
            font-size: 72px;
            line-height: 72px;
        }

        .desc {
            margin-bottom: 16px;
            //   color: @text-color-secondary;
            font-size: 20px;
            line-height: 28px;
        }

        .actions {
            button:not(:last-child) {
                margin-right: 8px;
            }
        }
    }
}
</style>
